<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h3 th:each="user:${users}" th:text="${user}"></h3> <!--建议使用，数据不写在div标签之间-->

<hr/>

<h3 th:each="user:${users}">[[${user}]]</h3>

</body>
</html>